#pragma once
#include "DX2DEngine.h"
#include "HelpfulData.h"

enum Orientation {TOP_LEFT,TOP_RIGHT,CENTER,BOT_RIGHT,BOT_LEFT,TOP_CENTER,BOT_CENTER};

class Message_Box
{
private:
	char * m_message;
	int m_length;
	V2DF m_pos;
	int m_width;
	int m_height;
	Orientation m_drawPoint;
	Orientation m_textPoint;
	int m_A;
	int m_R;
	int m_G;
	int m_B;
public:
	Message_Box();
	~Message_Box();
	void release();
	void initialize(char * message, int length, V2DF pos, int width, int height, Orientation drawPoint, Orientation textPoint, int A, int R, int G, int B);
	void drawText();
	void changeDrawPoint(Orientation drawPoint) { m_drawPoint = drawPoint; }
	void changeTextPoint(Orientation textPoint) { m_textPoint = textPoint; }
	V2DF getPosition() { return m_pos; }
	void changeMessage(char * message, int length);
	void changePosition(V2DF pos) { m_pos = pos; }
	float getWidth() { return m_width; }
	float getHeight() { return m_height; }
	void changeBounds(int width, int height) { m_width = width; m_height = height; }
};